package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 新闻分类对象 biz_category
 *
 * @author chensw
 * @date 2023-06-19
 */
public class BizCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类编号 */
    @Excel(name = "分类编号")
    private Long categoryId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;

    /** 新闻内容信息 */
    private List<BizNews> bizNewsList;

    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }
    public void setCategoryName(String categoryName)
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName()
    {
        return categoryName;
    }

    public List<BizNews> getBizNewsList()
    {
        return bizNewsList;
    }

    public void setBizNewsList(List<BizNews> bizNewsList)
    {
        this.bizNewsList = bizNewsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("categoryId", getCategoryId())
                .append("categoryName", getCategoryName())
                .append("bizNewsList", getBizNewsList())
                .toString();
    }
}
